package com.daka.dao;

import com.daka.entity.Insurance;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository(value = "insuranceDao")
@SQLMapper
public interface InsuranceDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Insurance record);

    int insertSelective(Insurance record);

    Insurance selectByPrimaryKey(Integer id);

    List<Insurance> selectByStatement(Insurance record);

    int selectByStatementCount(Insurance record);

    int updateByPrimaryKeySelective(Insurance record);
}